import Vue from 'vue';
import SvgIcon from '../../components/common/SvgIcon.vue'; // svg组件

Vue.component('SvgIcon', SvgIcon);

const req = require.context('../../assets/imgs/svg', false, /\.svg$/);
const requireAll = requireContext => requireContext.keys().map(requireContext);
requireAll(req);